package org.example.mapper;

import org.example.pojo.Customer;

/**
 * ClassName: CustomerMapper
 * Package: org.example.mapper
 * Description:
 *
 * @Author wanghao
 * @Create 2024-06-28 20:50
 * @Version 1.0
 */
public interface CustomerMapper {

    Customer getCustomerById(Integer id);

    // 查询特定id的客户信息，包含他的所有订单信息 -- 表连接实现
    Customer getCustomerWithOrderBeanList(Integer id);

    // 分布查询实现
    Customer getCustomerWithOrderBeanList2(Integer id);
}
